package com.company.cloud.uba.modules.app.models;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
public class UserIdMappingUpdate {

    @ApiModelProperty(value = "匿名用户标记", required = true)
    @NotEmpty(message = "匿名用户标记不能为空")
    private String anonyToken;

    @ApiModelProperty(value = "登录令牌")
    private String loginToken;

    @ApiModelProperty("公司编号")
    private String companyNo;


    @ApiModelProperty(value = "用户ID", required = true)
    @NotNull(message = "用户ID不能为空")
    private Integer userId;

    @ApiModelProperty(value = "客户端类型")
    private String clientType;

    @ApiModelProperty(value = "手机设备号")
    private String mobileNo;

    private LocalDateTime opDate;

    private String opIp;

}
